x86/mem_sharing: convert MEM_SHARING_DESTROY_GFN to a bool
authorTamas K Lengyel <tamas.lengyel@intel.com>
Fri, 24 Jan 2020 09:27:35 +0000 (10:27 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 24 Jan 2020 09:27:35 +0000 (10:27 +0100)
commit96d4621f96bfdac97b85c3a278b4b51bcdd6f272
tree77791b9c467dc868ae3bb97175612c24df92cafd
parent1e470e160922f83e0f2f879229be9a6857bd54af
x86/mem_sharing: convert MEM_SHARING_DESTROY_GFN to a bool

MEM_SHARING_DESTROY_GFN is used on the 'flags' bitfield during unsharing.
However, the bitfield is not used for anything else, so just convert it to a
bool instead.

Signed-off-by: Tamas K Lengyel <tamas.lengyel@intel.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/mm/mem_sharing.c
xen/include/asm-x86/mem_sharing.h